package com.runfast.waimai.dao.model;

import java.io.Serializable;

public class RunfastTransorder implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer askShopperId;
    private String comment;
    private String orderCode;
    private Integer orderId;
    private Integer resShopperId;
    private Integer status;
    private Integer takeType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public RunfastTransorder withId(Integer id) {
        this.setId(id);
        return this;
    }

    public Integer getAskShopperId() {
        return askShopperId;
    }

    public void setAskShopperId(Integer askShopperId) {
        this.askShopperId = askShopperId;
    }

    public RunfastTransorder withAskShopperId(Integer askShopperId) {
        this.setAskShopperId(askShopperId);
        return this;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public RunfastTransorder withComment(String comment) {
        this.setComment(comment);
        return this;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode == null ? null : orderCode.trim();
    }

    public RunfastTransorder withOrderCode(String orderCode) {
        this.setOrderCode(orderCode);
        return this;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public RunfastTransorder withOrderId(Integer orderId) {
        this.setOrderId(orderId);
        return this;
    }

    public Integer getResShopperId() {
        return resShopperId;
    }

    public void setResShopperId(Integer resShopperId) {
        this.resShopperId = resShopperId;
    }

    public RunfastTransorder withResShopperId(Integer resShopperId) {
        this.setResShopperId(resShopperId);
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public RunfastTransorder withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public Integer getTakeType() {
        return takeType;
    }

    public void setTakeType(Integer takeType) {
        this.takeType = takeType;
    }

    public RunfastTransorder withTakeType(Integer takeType) {
        this.setTakeType(takeType);
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", askShopperId=").append(askShopperId);
        sb.append(", comment=").append(comment);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", orderId=").append(orderId);
        sb.append(", resShopperId=").append(resShopperId);
        sb.append(", status=").append(status);
        sb.append(", takeType=").append(takeType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}